package net.lzzy.exercise;

import java.util.Scanner;

public class Git_Exercise {
    
public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            System.out.print("请输入你的名字：");
            String name = scan.nextLine();
            System.out.print("请输入你的年龄：");
            int age = scan.nextInt();
            System.out.printf("我的名字是%s,今年%d岁了",name,age);
        }        
    }
}
